package cn.wu.reggie.service;

import cn.wu.reggie.common.R;
import cn.wu.reggie.entity.Category;
import cn.wu.reggie.query.CategoryQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface ICategoryService extends IService<Category> {

    Page<Category> queryPage(CategoryQuery qo);

    R saveOne(Category category);

    R updateOne(Category category);

    R delete(Long id);
}
